package com.meshnetics.gb.stack.mac.type;

import com.meshnetics.gb.type.impl.custom.FiniteEnumerationElement;

/**
 * Type of scan requested, used in MACScanRequest and MACScanConfirm.
 *
 * @author AKovylin
 */
public class ScanType extends FiniteEnumerationElement {
    public static final ScanType ED_SCAN = new ScanType(TypeScanType.TYPE, 0x00, "ED_SCAN");
    public static final ScanType ACTIVE_SCAN = new ScanType(TypeScanType.TYPE, 0x01, "ACTIVE_SCAN");
    public static final ScanType PASSIVE_SCAN = new ScanType(TypeScanType.TYPE, 0x02, "PASSIVE_SCAN");
    public static final ScanType ORPHAN_SCAN = new ScanType(TypeScanType.TYPE, 0x03, "ORPHAN_SCAN");

    ScanType(TypeScanType type, long value, String name) {
        super(type, value, name);
    }
}
